#ifndef SHADERSOURCE_H_
#define SHADERSOURCE_H_

#include <GL/glew.h>
#include <fstream>
#include <string>

class Shader {
private:
	std::ifstream file;
	std::string name;
	std::string programSource;
	GLuint handle;
	GLenum type;
public:
	Shader(GLenum type, std::string path);
	void compile();
	virtual ~Shader();

	GLuint getHandle() const {
		return handle;
	}

	GLenum getType() const {
		return type;
	}

};

#endif /* SHADERSOURCE_H_ */
